package com.hk.context;


import com.hk.core.UserUtlis;

public class BaseContext {

    public static ThreadLocal<UserUtlis> threadLocal = new ThreadLocal<>();

    public static void setCurrent(UserUtlis user) {
        threadLocal.set(user);
    }

    public static UserUtlis getCurrent() {
        return threadLocal.get();
    }

    public static void removeCurrent() {
        threadLocal.remove();
    }

}
